<nz-tabset [nzType]="'line'" [(nzSelectedIndex)]="selectIdx" [nzTabBarExtraContent]="extraTemplate" [hidden]="tabsetHidden">
	<nz-tab *ngFor="let tab of tabs" [nzTitle]="titleTemplate" (nzClick)="onTabClick(tab)">
		<ng-template #titleTemplate>
			<div>
				<i nz-icon [nzType]="tab.icon"></i>
				{{ tab.text }}
				<i *ngIf="tab.name!='home'" nz-icon nzType="close" (click)="onCloseTab(tab)" class="ant-tabs-close-x"></i>
			</div>
		</ng-template>
	</nz-tab>
</nz-tabset>
<ng-template #extraTemplate>
  <i class="ant-tabs-new-tab" nzTooltipTitle="全屏" nz-tooltip [hidden]="tabsetHidden" nz-icon nzType="fullscreen" (click)="onDisplayTab(true)"></i>
</ng-template>
<i class="ant-tabs-new-tab icopostion"  nzTooltipTitle="取消全屏" nz-tooltip [hidden]="!tabsetHidden" nz-icon nzType="fullscreen-exit" (click)="onDisplayTab(false)"></i>
